package com.baizhi.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lby
 * @since 2020-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PmsBrand implements Serializable {

    /**
     * 品牌id
     */
    @TableId(value = "brand_id", type = IdType.AUTO)
    @Excel(name = "品牌id")
    private Long brandId;

    /**
     * 名称
     */
    @Excel(name = "品牌名字")
    private String name;

    /**
     * 首字母
     */
    @Excel(name = "首字母")
    private String firstLetter;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sort;

    /**
     * 是否显示[0-不显示；1-显示]
     */
    @Excel(name = "显示状态",replace = {"不显示_0","显示_1"})
    private Integer showStatus;

    /**
     * 品牌logo
     */
    @Excel(name = "logo",
            type = 2 ,
            width = 40 ,
            height = 30,
            imageType = 1,
            savePath = "C:\\Users\\ghghghg\\IdeaProjects\\bzmall\\bzmall-admin\\src\\main\\webapp\\img")
    private String logo;

/*
    */
/**
     * 专区大图
     *//*

    private String bigPic;
*/

    /**
     * 品牌描述
     */
    @Excel(name = "品牌描述")
    private String brandStory;


}
